package com.atguigu.service;

import com.atguigu.bean.TravelGroup;
import com.atguigu.entity.PageResult;
import com.atguigu.entity.QueryPageBean;

import java.util.List;

public interface TravelGroupService {
    void add(TravelGroup travelGroup, Integer[] id);

    PageResult findPage(QueryPageBean queryPageBean);

    void delete(Integer id);

    TravelGroup findById(Integer id);

    List<Integer> getTravelItemIds(Integer id);

    void edit(Integer[] ids, TravelGroup travelGroup);

    List<TravelGroup> findAll();
}
